{% extends "layout.html" %}
{% block content %}
  <h2><i class = "icon-bell"></i>Evenement</h2>
  {% if event %}
    Titel: {{ event.title }}
    <hr>
    <!-- {{ event }} -->
	<table class = "table">
	<tr>
	<td><span class="label label-info">Publiek:</span></td><td>{{ event.audience }}</td>
	</tr>
	<tr>
	<td><span class="label label-info">Max deelname:</span></td><td>{{ event.maxUsers }}</td>
	</tr>
    <tr>
	<td><span class="label label-info">Van:</span></td><td>{{ event.start}}</td>
	</tr>
	<tr>
	<tr>
	<td><span class="label label-info">Tot:</span></td><td>{{ event.end }}</td>
	</tr>
	<tr>
	<td><span class="label label-info">Omschrijving:</span></td><td>{{ event.description }}</td>
	</tr>
	<tr>
	<td><span class="label label-info">Externe URL:</span></td><td><a href = "{{ event.url }}">Klik hier!</a></td>
	</tr>
	<tr>
	<td><span class="label label-info">Organisator:</span></td><td>{{ event.author }}</td>
	</tr>
	</table>
    <hr>
	<i class = "icon-tags"></i>
    {% for tag in event.tags %}
        {{ tag }}
    {% else %}
        No tags!
    {% endfor %}
  {% else %}
    Event not found!
  {% endif %}
{% endblock %}